package com.foreverwin.mes.lims.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.lims.model.InspectPlan;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Levy
 * @since 2020-02-20
 */
public interface InspectPlanService extends IService<InspectPlan> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<InspectPlan> selectPage(FrontPage<InspectPlan> frontPage, InspectPlan inspectPlan);

    List<InspectPlan> selectList(InspectPlan inspectPlan);

    void doSave(InspectPlan inspectPlan , JSONArray planArray);
}